cmake_minimum_required(VERSION 3.10)

#set(CMAKE_CXX_STANDARD 14)

include_directories(.)

include_directories(../message)
include_directories(../../common/msg)
include_directories(../../third/mongoose)

set(SOURCE_FILES
		control_remote_service.cpp
		control_remote_service.h
)

add_library(cm-control-service
		${SOURCE_FILES}
		)

add_executable(cm_control_remote_service_test
		cm_control_remote_service_test.cpp
		../../third/mongoose/mongoose.c
		${SOURCE_FILES}
)

target_link_libraries(cm_control_remote_service_test
		jkmessage
		net
		third_jsoncpp
		utils
		jkfuncs
		pthread
)
